package com.vancouver.knows.business.service.impl;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.vancouver.knows.business.bean.EventDetailInfo;
/**
 * 查询活动详情解析
 * <p/>
 * Created by cxlin
 */
public class FetchEventDetailHandler extends ACheckableJsonParser {

	private EventDetailInfo eventDetailInfo;

	@Override
	protected void parserContent(JSONObject content) throws Exception {
		String posts = content.getString("event_details");
		eventDetailInfo = JSON.parseObject(posts, EventDetailInfo.class);
	}

	public EventDetailInfo getEventDetailInfo() {
		return eventDetailInfo;
	}
}
